#!/usr/bin/env python
# encoding: utf-8
""" 
定义常量
"""
APP_NAME = "1001"

SUCCESS = 0

# 服务出现异常
ERR_SERVICE = int(APP_NAME+"0001")

# 缺少参数
ERR_PARAMETER_LOST = int(APP_NAME + "0002")

# 找不到对应的方法
ERR_METHOD_NOT_FOUND = int(APP_NAME+"0003")

# token 无效
ERR_TOKEN_INVALID = int(APP_NAME+"0004")

# 没有权限
ERR_NO_PERMISSION = int(APP_NAME+"0005")
